﻿@model DevWeb.Biztalk.DeploymentSettings.WebUI.Models.IntegrationVersionViewModel

@{
    ViewBag.Title = "Delete";
}

<h2>Delete Integration Verson</h2>

<h3>Are you sure you want to delete this integration version?</h3>


@using (Html.BeginForm())
{
    <fieldset>
        <legend>IntegrationVersion to Delete</legend>
   

        <div class="display-label">
            @Html.DisplayNameFor(model => model.IntegrationName)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.IntegrationName)
        </div>

        <div class="display-label">
            @Html.DisplayNameFor(model => model.ProductId)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.ProductId)
        </div>

        <div class="display-label">
            @Html.DisplayNameFor(model => model.Version)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Version)
        </div>

        <div class="display-label">
            @Html.DisplayNameFor(model => model.Description)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.Description)
        </div>

        <div class="display-label">
            @Html.DisplayNameFor(model => model.SettingCount)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.SettingCount)
        </div>

        <div class="display-label">
            @Html.DisplayNameFor(model => model.DeploymentCount)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.DeploymentCount)
        </div>

        <div class="display-label">
            @Html.DisplayNameFor(model => model.CreateDateTime)
        </div>
        <div class="display-field">
            @Html.DisplayFor(model => model.CreateDateTime)
        </div>
        @Html.HiddenFor(model => model.ProductUpgradeCode)
        @Html.HiddenFor(model => model.IntegrationId)
        @Html.Hidden("productid2", Model.ProductId)
    </fieldset>

    <p>
        
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index", new {productupgradecode = Model.ProductUpgradeCode})
    </p>
}